# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-ruby
pkgver=0.23.0
pkgrel=0
pkgdesc="Ruby grammar for tree-sitter"
url="https://github.com/tree-sitter/tree-sitter-ruby"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-ruby/archive/v$pkgver/tree-sitter-ruby-$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}

package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
bd6a0d72613e923ce262519f32524ae79abf7d8e66a8877ea7c1e21e0056d65fb28255b62ecd78f86081d2e71f6142efa1a851bc9107af359b65a71d536c2516  tree-sitter-ruby-0.23.0.tar.gz
"
